package com.ebupt.migu.music.effectStatistics.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author tz
 */
@Mapper
@DS("mysql_mg")
public interface WeeklyTotalMapper {

    /**
     * 人群创建个数
     * @param params
     * @return
     */
    List<Map<String, Object>> qryUserGroup(Map<String, Object> params);

    /**
     * 人群失败
     * @param params
     * @return
     */
    Map<String, Object> qryFailUser(Map<String, Object> params);

    /**
     * 短信运营
     * @param params
     * @return
     */
    Map<String, Object> qrySms(Map<String, Object> params);

    /**
     * push
     * @param params
     * @return
     */
    Map<String, Object> qryPush1(Map<String, Object> params);
    Map<String, Object> qryPush2(Map<String, Object> params);

    /**
     * 消息通知
     * @param params
     * @return
     */
    Map<String, Object> qryMsg(Map<String, Object> params);

    /**
     * 自动触发运营
     * @param params
     * @return
     */
    List<Map<String, Object>> qryAutoTri(Map<String, Object> params);

}
